projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a71c7b
)
mapsource: Fix memory leak after gbfile api changes.
author
oliskoli
<oliskoli>
Sat, 8 Mar 2008 22:43:18 +0000
(22:43 +0000)
committer
oliskoli
<oliskoli>
Sat, 8 Mar 2008 22:43:18 +0000
(22:43 +0000)
mapsource.c
patch
|
blob
|
history
diff --git
a/mapsource.c
b/mapsource.c
index ba9f2fb6c610729c362b296faf3621223a158358..182456a924ae3d8113f7b623af1a41a8d8f7556e 100644
(file)
--- a/
mapsource.c
+++ b/
mapsource.c
@@
-882,7
+882,7
@@
mps_route_r(gbfile *mps_file, int mps_ver, route_head **rte)
#endif
rte_head = route_head_alloc();
- rte_head->rte_name =
xstrdup(rtename)
;
+ rte_head->rte_name =
rtename
;
route_add_head(rte_head);
*rte = rte_head;